<LayoutTableSmall >
    <!-- 顶部 -->
    <template slot="top"></template>
    <!-- 其他 -->
    <template slot="other"></template>
    <!-- 搜索 -->
    <template slot="search">
        <el-input clearable v-model="mixinTable_tableSearchData.real_name" placeholder="请输入提现姓名"
            @change="mixinTable_searchData" style="width:200px">
            <el-button slot="append" icon="el-icon-search" @click="mixinTable_searchData()"></el-button>
        </el-input>
    </template>
    <!-- 功能 -->
    <template slot="function">
        <!-- <el-button type="primary" @click="editBoxOpen({type:'add'})">新增提现申请</el-button> -->
    </template>
    <!-- 表格 -->
    <template slot="table">

        <el-table v-loading="mixinTable_loading" :data="mixinTable_tableData.list" border style="width: 100%;" :ref="mixinPage_vueName+'TableSmall'" height="100%"
            @selection-change="mixinTable_handleSelectionChangeTableSmall" :tree-props="{children: 'children'}" default-expand-all  row-key="id">
            
            <el-table-column type="index" width="50" :index="mixinTable_indexMethod" align="center" label="#"></el-table-column>
            <el-table-column prop="real_name" label="提现姓名">
            </el-table-column>
            <el-table-column prop="amount" label="申请提现金额">
            </el-table-column>
            <el-table-column prop="bank_card" label="收款账号">
            </el-table-column>
            <el-table-column prop="type" label="提现方式">
                <template slot-scope="scope">
                    <div v-if="scope.row.type == 1">微信</div>
                    <div v-if="scope.row.type == 2">支付宝</div>
                    <div v-if="scope.row.type == 3">银行转账</div>
                </template>
            </el-table-column>
            <el-table-column prop="status" label="提现状态">
                <template slot-scope="scope">
                    <div v-if="scope.row.status == 0">申请中</div>
                    <div v-if="scope.row.status == 1">已通过</div>
                    <div v-if="scope.row.status == -1">已驳回</div>
                    <div v-if="scope.row.status == 2">已打款</div>
                    <div v-if="scope.row.status == 3">已确认</div>
                </template>
            </el-table-column>
            <el-table-column label="操作" width="300" align="center">
                <template slot-scope="scope">
                    <el-button @click="details({data:scope.row,id:scope.row.id})">详情</el-button>
                    <el-button @click="pass({id: scope.row.id, type: 'single'})" v-if="scope.row.status == 0">审核通过
                    </el-button>
                    <el-button @click="reject({data:scope.row,id:scope.row.id})" v-if="scope.row.status == 0">驳回审核
                    </el-button>
                    <el-button @click="payment(scope.row.id)" v-if="scope.row.status == 1 ">打款</el-button>
                    <el-button @click="collection(scope.row.id)" v-if="scope.row.status == 2">收款</el-button>
                </template>
            </el-table-column>


        </el-table>

    </template>
    <!-- 表格选项 -->
    <template slot="options">
        <!-- <el-button :disabled="mixinTable_selectTableData.length<=0"
            @click="mixinTable_selectTableDeleteData()">
            删除已选</el-button>
        <el-button :disabled="mixinTable_selectTableData.length<=0" @click="mixinTable_clearSelectionChangeTableSmall()">取消选择
        </el-button> -->
    </template>
    <!-- 分页 -->
    <template slot="page">
        <el-pagination class="paginationStyle" v-if="mixinTable_pageData.total>0" background
            @current-change="mixinTable_pagingData($event)" :current-page="mixinTable_pageData.pageNum"
            :page-size.sync="$vFN.Constants.pageSize" layout="total, prev, pager, next,jumper"
            :total.sync="mixinTable_pageData.total">
        </el-pagination>
    </template>
</LayoutTableSmall>